<?php
class PagesAction extends BaseAction{
	public function _empty(){
		$id = $_GET['id'];
		if(!$id) $id = 1;
		$page = D("Page")->getById($id);
		$this->assign($page);
		$this->display("Pages:index");
	}
}
?>